﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WaterBill.DTO
{
    class DTO_Permission
    {
        #region "Bien toan cuc"
        private int _PermissionId;
        private string _Name;
        #endregion
        #region "Thuoc tinh"
        public int PermissionId
        {
            get { return _PermissionId; }
            set { _PermissionId = value; }
        }
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        #endregion
        #region "Phuong thuc"
        public DTO_Permission()
        {
            _PermissionId = 0;
            _Name = string.Empty;
        }
        public DTO_Permission(DTO_Permission obj)
        {
            this.PermissionId = obj.PermissionId;
            this.Name = obj.Name;
        }
        public DTO_Permission(int PermissionId, string Name)
        {
            this.PermissionId = PermissionId;
            this.Name = Name;
        }
        #endregion
    }
}
